<?php
namespace Home\Model;
use Think\Model;
class AdminModel extends Model {
    public function getUserInfo($cond){
    	if(!$cond){
    		return false;
    	}
    	$res = M('admin')->where($cond)
    		->find();
    	return $res;
    }
}